dnl This file describes the messages needed only in this test
#include "SwapVector.h"
#include <vector>

using namespace std;

///////////// FILTER MESSAGE  ////////////

/** Message used in the EventProcessor unit test. 
    It is sent by the Master to the Worker
    
    Arguments:
	start: starting point of the vector
	buffer: The vector which contains the integers
	sender: The Master	

    */


M4_CREATE_MESSAGE_TYPE(FilterMessage,
</(prime, int)/>,
</(stream, SwapVector),(sender, EventProcessor)/>)

M4_CREATE_MESSAGE_TYPE(DoneMessage,
</(id, int)/>,
</(stream, SwapVector),(sender, EventProcessor)/>)
